package main

import (
	"quick-go/middleware"
	"quick-go/pkg"
	"quick-go/router"
)

func main() {

	pkg.InitLogger()

	r := router.Router()
	// r.Use(gin.Logger())
	r.Use(middleware.LoggingMiddleware())

	r.Run(":8080")
}
// macos 下打包
// GOOS=darwin GOARCH=amd64 go build
// linux 下打包
// GOOS=linux GOARCH=amd64 go build
// windows 下打包
// go build
